WPF and Silverlight Edition Basic Library > Drop Down > DropDown Quick Start > Step 1 of 3: Creating the Application |
In this step you'll create a WPF application or a Silverlight application using DropDown for WPF and Silverlight. When you add a C1DropDown control to your application, you'll have a complete, functional drop-down box interface that you can add images, controls, and other elements to. To set up your project and add a C1DropDown control to your application, complete the following steps:
In Visual Studio, select File | New Project.
In the New Project dialog box, select either Windows Desktop or Silverlight from the Templates in the left-hand pane.
New Project Dialog Box
- WPF: C1.WPF.4.dll
- Silverlight: C1.Silverlight.5.dll
The XAML will appear similar to the following:
XAML Copy Code <c1:C1DropDown Name="C1DropDown1" Height="30" Width="100" />The page's Design view should now look similar to the following image (with the C1DropDown control selected on the form):
You've successfully set up your application's user interface, but if you run your application now you’ll see that the C1DropDown control currently contains no content. In the next step you'll add content to the C1DropDown control, and then you'll observe some of the run-time interactions possible with the control.